package com.cloud.easy.im.handler.disruptor.event;

import com.cloud.easy.im.argeement.Agreement;
import io.netty.channel.Channel;

/**
 * @author wangjian
 * @version 0.1.0
 * @create 2020年10月22日5:04 下午
 */
public class WebSocketEvent {

    /**
     * channel上下文
     */
    private Channel session;

    /**
     * 请求协议体
     */
    private Agreement agreement;

    public Channel getSession() {
        return session;
    }

    public void setSession(Channel session) {
        this.session = session;
    }

    public Agreement getAgreement() {
        return agreement;
    }

    public void setAgreement(Agreement agreement) {
        this.agreement = agreement;
    }
}
